llvm-riscv64-fix-cffi
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 8 Jan 2021 11:48:25 +0000 (11:48 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 8 Jan 2021 11:48:25 +0000 (11:48 +0000)
commit37ae6a7aef211e9d9cd958e973f37dc121221569
tree4b901f9d9a20f15af3c9a0773ff4f3e6a09bb54e
parent8956ccea0dbe647a22cad4e4b1153eb8e76f5d3d
llvm-riscv64-fix-cffi

commit c6b09bff5671600f8e764d3847023d0996f328d9
Author: Luís Marques <luismarques@lowrisc.org>
Date:   Thu Nov 14 18:27:42 2019 +0000

    [RISCV] Fix wrong CFI directives

    Summary: Removes CFI CFA directives that could incorrectly propagate
    beyond the basic block they were inteded for. Specifically it removes
    the epilogue CFI directives. See the branch_and_tail_call test for an
    example of the issue. Should fix the stack unwinding issues caused by
    the incorrect directives.

    Reviewers: asb, lenary, shiva0217
    Reviewed By: lenary
    Tags: #llvm
    Differential Revision: https://reviews.llvm.org/D69723

Gbp-Pq: Name llvm-riscv64-fix-cffi.diff
llvm/lib/Target/RISCV/RISCVFrameLowering.cpp